import { IExamData } from "../interface";

export const PASS_SCORE = 60;

export const EXAM_TITLE = '基础知识测验';

export const SEARCH_USER_TYPES = [
  { name: '姓名', value: 'username' },
  { name: '电话', value: 'phone' },
  { name: 'ID', value: 'id' }
]

export enum REGISTER_FORM {
  USERNAME = 'username',
  PHONE = 'phone',
  EMAIL = 'email'
}

export const SEARCH_EXAM_TYPE = [
  { name: 'ID', value: 'id' },
  { name: '标题', value: 'title' },
]

// 假数据
export const examData: IExamData[] = [
  {
    id: '',
    tag: "react",
    title: "虚拟DOM实现原理?",
    choices: ['啊', '吧', '从', '的'],
    analysis: "虚拟DOM本质上是JavaScript对象,是对真实DOM的抽象状态变更时,记录新树和旧树的差异最后把差异更新到真正的dom中",
    answer: 2,
    addTime: "2022-07-23 12:36:11"
  },
  {
    id: '',
    tag: "react",
    title: "虚拟DOM实现原理?",
    choices: ['啊', '吧', '从', '的'],
    analysis: "虚拟DOM本质上是JavaScript对象,是对真实DOM的抽象状态变更时,记录新树和旧树的差异最后把差异更新到真正的dom中",
    answer: 2,
    addTime: "2022-07-23 12:35:11"
  },
  {
    id: '',
    tag: "react",
    title: "虚拟DOM实现原理?",
    choices: ['啊', '吧', '从', '的'],
    analysis: "虚拟DOM本质上是JavaScript对象,是对真实DOM的抽象状态变更时,记录新树和旧树的差异最后把差异更新到真正的dom中",
    answer: 2,
    addTime: "2022-07-23 12:34:11"
  },
  {
    id: '',
    tag: "react",
    title: "虚拟DOM实现原理?",
    choices: ['啊', '吧', '从', '的'],
    analysis: "虚拟DOM本质上是JavaScript对象,是对真实DOM的抽象状态变更时,记录新树和旧树的差异最后把差异更新到真正的dom中",
    answer: 2,
    addTime: "2022-07-23 12:323:11"
  },
  {
    id: '',
    tag: "react",
    title: "虚拟DOM实现原理?",
    choices: ['啊', '吧', '从', '的'],
    analysis: "虚拟DOM本质上是JavaScript对象,是对真实DOM的抽象状态变更时,记录新树和旧树的差异最后把差异更新到真正的dom中",
    answer: 2,
    addTime: "2022-07-23 12:31:11"
  },
  {
    id: '',
    tag: "react",
    title: "虚拟DOM实现原理?",
    choices: ['啊', '吧', '从', '的'],
    analysis: "虚拟DOM本质上是JavaScript对象,是对真实DOM的抽象状态变更时,记录新树和旧树的差异最后把差异更新到真正的dom中",
    answer: 2,
    addTime: "2022-07-23 12:32:11"
  },

]
